package aggregation

type UseRankItem struct {
	Total    int64  `json:"total"`
	UserId   int64  `json:"user_id"`
	UserName string `json:"user_name"`
}

type UseRankListData struct {
	List []*UseRankItem `json:"list"`
}

type UseRankListParam struct {
	Type int64 `json:"type" form:"type" binding:"oneof=1 2 3 " err:"类型错误"`
}

type DataParam struct {
}

type StatisticsData struct {
	ViewOpptyTotal       int64 `json:"view_oppty_total"`       // 本月查看商机
	NewClueTotal         int64 `json:"new_clue_total"`         // 本月新增线索
	NewCustomerTotal     int64 `json:"new_customer_total"`     // 本月新增客户
	ContactCustomerTotal int64 `json:"contact_customer_total"` // 本月联系客户
	CustomerDynamicTotal int64 `json:"customer_dynamic_total"` // 监控客户动态
}
